import axios from '@/util/request'

export const deleteById = id =>{
    return axios({
        url:'/users/delete',
        method:'post',
        data:id
    })
}
export const selectById = id =>{
    return axios({
        url:'/users/id',
        method:'get',
        data:id
    })
}
export const selectByAccount = (pageNum,pageSize,uaccount,utel) =>{
    return axios({
        url:'/users/uaccount',
        method:'get',
        params:{
            pageNum,pageSize,uaccount,utel
        }
    })
}
export const queryPage = (pageNum,pageSize) =>{
    return axios({
        url:'/users/queryByPage',
        method:'get',
        params:{
            pageNum,pageSize
        }
    })
}


